package com.open.capacity.workflow.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 作者 ftquan 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 * 流程历史任务
 */
@Data
public class WFTaskHistory implements Serializable {

    private static final long serialVersionUID = 4497149010220586111L;

    private String id;
    private String processId;
    private String nodeId;
    private String nodeName;
    //完成任务类型 0.创建 1.审批 2.重新创建 3.确认阅读 4.加签
    private Integer taskType;
    private Integer result;
    private String previousId;
    private String previousName;
    private String description;
    private String createUserid;
    private String createUsername;
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
    private Date createTime;
}
